package com.example.gradledemo.module;

import android.content.Context;
import android.util.Log;
import androidx.annotation.NonNull;
import com.appinit.lib.IAppInitial;
import com.appinit.lib.annotation.Initial;

/**
 * @author GYL
 * @dateTime 2020/5/18-13:46
 * @description
 */
@Initial(priority=1,delay = 10)
public class Module1 implements IAppInitial{
  
  @Override
  public void onInit(@NonNull Context context) {
    Log.d("Module1", "onInit: ...Module1");
  }
  
  @Override
  public void attachBaseContext(Context base) {
    Log.d("Module1", "attachBaseContext: Module1");
  }
  
  @Override
  public void onTerminate(Context context) {
    Log.d("Module1", "onTerminate: Module1");
  }
  
  @Override
  public void onTrimMemory(int level) {
    Log.d("Module1", "onTrimMemory: module1");
  }
}
